﻿using Microsoft.Build.Utilities;
using MsBuildAxTasks;

namespace MsBuildAxTasks.Tasks
{
    public class AxCompile : Task
    {
        public string crossReference { get; set; }

        public string defaultDir { get; set; }

        public override bool Execute()
        {
            AxCli cli = new AxCli();

            Log.LogMessage("Compile application");

            cli.CompileApplication();

            return true;
        }        
    }
}
